﻿#region

using LocalNugetUpdate.Model.NupkgModelJsonTypes;
using Newtonsoft.Json;

#endregion

namespace LocalNugetUpdate.Model.NupkgModelJsonTypes
{
    public class Metadata
    {
        [JsonProperty("id")]
        public string Id { get; set; }

        [JsonProperty("version")]
        public string Version { get; set; }

        [JsonProperty("title")]
        public string Title { get; set; }
    }

    public class Package
    {
        [JsonProperty("metadata")]
        public Metadata Metadata { get; set; }
    }
}

namespace LocalNugetUpdate.Model
{
    public class NupkgModel
    {
        [JsonProperty("package")]
        public Package Package { get; set; }
    }
}